package com.ruoyi.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.data.annotation.Transient;

import java.util.List;

/**
 * 房东管理对象 landlord_info
 * 
 * @author dudu
 * @date 2024-05-15
 */
public class LandlordInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 房东id */
    private Long landlordId;

    /** 用户id */
    private Long userId;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** $column.columnComment */
    @Excel(name = "手机号")
    private String phone;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private Long idNumber;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCard;

    /** 房东编号 */
    @Excel(name = "房东编号")
    private String landlordNum;

    @Transient
    private Integer houseCount;

    @Transient
    private String keyword;


    @Transient
    private List<House> houseInfoList;


    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getHouseCount() {
        return houseCount;
    }

    public void setHouseCount(Integer houseCount) {
        this.houseCount = houseCount;
    }

    public List<House> getHouseInfoList() {
        return houseInfoList;
    }

    public void setHouseInfoList(List<House> houseInfoList) {
        this.houseInfoList = houseInfoList;
    }


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLandlordId(Long landlordId) 
    {
        this.landlordId = landlordId;
    }

    public Long getLandlordId() 
    {
        return landlordId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setIdNumber(Long idNumber) 
    {
        this.idNumber = idNumber;
    }

    public Long getIdNumber() 
    {
        return idNumber;
    }
    public void setBankCard(String bankCard) 
    {
        this.bankCard = bankCard;
    }

    public String getBankCard() 
    {
        return bankCard;
    }
    public void setLandlordNum(String landlordNum) 
    {
        this.landlordNum = landlordNum;
    }

    public String getLandlordNum() 
    {
        return landlordNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("landlordId", getLandlordId())
            .append("userId", getUserId())
            .append("realName", getRealName())
            .append("phone", getPhone())
            .append("idNumber", getIdNumber())
            .append("bankCard", getBankCard())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("landlordNum", getLandlordNum())
            .toString();
    }
}
